package com.banmoon.visitor.visitor;

import com.banmoon.visitor.element.Judge;
import com.banmoon.visitor.element.Spectator;

/**
 * 淘汰
 */
public class WeedOutOperation extends Operation {

    @Override
    public void operation(Judge judge) {
        System.out.println(judge.getName() + "建议歌手直接淘汰");
    }

    @Override
    public void operation(Spectator spectator) {
        System.out.println(spectator.getName() + "建议歌手直接淘汰");
    }
}
